package com.qmctl.rest.bean.selldeliveryconfirm;

import javax.xml.bind.annotation.XmlRootElement;

import com.qmctl.rest.entity.PackageItem;
import com.qmctl.rest.entity.SellInvoicedetail;
@XmlRootElement(name="Item")
public class DetailItemClazz {
  public DetailItemClazz(){  
  }
  private String itemName;
  private String unit;
  private double quantity;
  private double amount;
  private long price;
  public String getItemName() {
	return itemName;
}
  
public void setItemName(String itemName) {
	this.itemName = itemName;
}
public String getUnit() {
	return unit;
}
public void setUnit(String unit) {
	this.unit = unit;
}
public double getQuantity() {
	return quantity;
}
public void setQuantity(double quantity) {
	this.quantity = quantity;
}
public long getPrice() {
	return price;
}
public void setPrice(long price) {
	this.price = price;
}
public double getAmount() {
	return amount;
}
public void setAmount(double amount) {
	this.amount = amount;
}
public DetailItemClazz(SellInvoicedetail beanClazz){
  itemName = beanClazz.getItemName();
  unit     = beanClazz.getUnit();
  quantity = beanClazz.getQuantity();
  amount   = beanClazz.getAmount();
  price    = beanClazz.getPrice();
}
}



